{extend name="public:member" /}
{block name="content"}
<div id="member_content">
	<div class="allWrap">
		{include file="public:member_menu" /}
		<div id="right_content">
			<div id="member-nav" class="clearfix">
				<ul id="top-tag" class="order-list">
					<li class="fl on">						
						<a>待评价({$list->total()|default="0"})</a>								
					</li>	
					<li class="fl">						
						<a href="{:url('comment/finish')}">已评价</a>								
					</li>	
				</ul>
			</div>
			
			<table class="table boxorder comment_list">
				<thead>
					<tr>					
						<th style="width:430px;">商品信息</th> 
						<th>订单号</th>
						<th>收货人</th> 									
						<th>操作</th>	
					</tr>
				</thead>
				<tbody>
						{volist name="list" id="v" empty="$empty"}
						<tr>						
							<td style="text-align:left;padding-left:20px;">								
								<dl>
									<dt><a href="{:get_goods_type_info(array('type'=>$v['type'],'goods_id'=>$v['goods_id']),'url')}">
										<img src="IMG_ROOT{$v.image|resize=60,60}"></a>
									</dt>
									<dd>
										<a href="{:get_goods_type_info(array('type'=>$v['type'],'goods_id'=>$v['goods_id']),'url')}">
											{$v.name}
										</a>
									</dd>
									<dd style="color:red;">										
										{:get_goods_type_info(array('type'=>$v['type'],'price'=>$v['price']),'price')}									
									</dd>
								</dl>
							</td>
							<td>
								
								<a href='{:url("OrderMember/show_order",array("id"=>$hashids->encode($v["order_id"])))}'>
								{$v.order_num_alias}
								</a>
							
							</td>
							<td>{$v.shipping_name}</td>
							<td><a href="{:url('comment/add',array('id'=>$hashids->encode($v['order_id'])))}" class="gbutton">去评价</a></td>
						</tr>
						{/volist}	
						
						<tr>
							<td colspan="20" class="page">{$list->render()}</td>
						</tr>
				</tbody>
				
			</table>
						
		</div>
	</div>
</div>
{/block}

